package com.yf.train.modules.train.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;

import java.io.Serializable;

/**
* <p>
* 题库训练题目数据传输类
* </p>
*
* @author 聪明笨狗
* @since 2022-03-01 18:42
*/
@Data
@ApiModel(value="题库训练题目", description="题库训练题目")
public class RepoTrainQuDTO implements Serializable {

    private static final long serialVersionUID = 1L;
    
    
    @ApiModelProperty(value = "ID", required=true)
    private String id;
    
    @ApiModelProperty(value = "训练ID", required=true)
    private String trainId;

    @ApiModelProperty(value = "训练模式，背题模式适用", required=true)
    private Integer mode;
    
    @ApiModelProperty(value = "题目ID", required=true)
    private String quId;
    
    @ApiModelProperty(value = "排序", required=true)
    private Integer sort;
    
    @ApiModelProperty(value = "是否答对", required=true)
    private Boolean isRight;
    
    @ApiModelProperty(value = "是否子题", required=true)
    private Boolean child;
    
    @ApiModelProperty(value = "归属题目", required=true)
    private String refId;
    
    @ApiModelProperty(value = "是否已答", required=true)
    private Boolean answered;
    
}
